import type { Equipment } from './EquipmentType'
import type { User } from './userType'

export interface Parameter {
  id?: number
  name: string
  emps: User[]
  humanList: Human[]
  equipmentList: Equipment[]
  sample: Sample
  sop: SOP
  facilityList: Facility[]
  compareValidList: compareValid[]
  simulation: Simulation
  status: string
  labAdmin: User
}

export interface BriefParameter {
  id: number
  name: string
  category: string
  type: string
  creator: string
  standardName: string
  standardId: number
}

export interface Human {
  id?: number
  information: string
  trainFile: string
  examineFile: string
  authorizationFile: string
}

export interface EditHuman extends Human {
  edit: boolean
}

export interface Sample {
  id?: number
  informationFile: string
  photo: string
  followStandard: boolean
}

export interface SOP {
  id?: number
  file: string
  followStandard: boolean
}

export interface Facility {
  id?: number
  name: string
  file: string
}

export interface EditFacility extends Facility {
  edit: boolean
}

export interface compareValid {
  id?: number
  file: string
}

export interface EditCompare extends compareValid {
  edit: boolean
}

export interface Simulation {
  id?: number
  report: string
  origin: string
  followStandard: boolean
}
